import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './assets/iconfont/iconfont.css'
import { Button, Tabbar,  Uploader, List, Area, Picker, Sticky, Search, IndexBar, Col, Row, IndexAnchor, Divider, Cell, CellGroup, Popup, Popover, TabbarItem, Icon, ActionSheet, Collapse, CollapseItem, Lazyload, Tag, Form, Field, NavBar, Card, Toast, ContactEdit, Grid, GridItem, Swipe, SwipeItem, Overlay, AddressEdit } from 'vant'
Vue.use(Lazyload, {
  lazyComponent: true
})
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(IndexBar)
Vue.use(List);
Vue.use(IndexAnchor)
Vue.use(Area)
Vue.use(Sticky);
Vue.use(Picker)
Vue.use(Icon)
Vue.use(Tag)
Vue.use(Search)
Vue.use(Col)
Vue.use(Row)
Vue.use(Popover)
Vue.use(ActionSheet)
Vue.use(Divider)
Vue.use(AddressEdit)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(Popup)
Vue.use(NavBar)
Vue.use(Uploader)
Vue.use(ContactEdit)
Vue.use(Lazyload)
Vue.use(Overlay)
Vue.use(Collapse)
Vue.use(CollapseItem)
Vue.use(Card)
Vue.use(Form)
Vue.use(Field)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Toast)
Vue.use(Button)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
